// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   SourceFile

package com.sgame.android.data;

import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import org.json.JSONException;
import org.json.JSONObject;

// Referenced classes of package com.mobage.us.android.data:
//            MBUUser

public class SessionData
    implements Parcelable
{
    public static class FacebookData
        implements Parcelable
    {

        public static FacebookData a(JSONObject jsonobject)
            throws JSONException
        {
            FacebookData facebookdata = new FacebookData();
            String s = jsonobject.getString("permissions");
            String key = jsonobject.getString("key");
            facebookdata.a = s.split(",");
            facebookdata.b = key;
            return facebookdata;
        }

        public int describeContents()
        {
            return 0;
        }

        public void writeToParcel(Parcel dest, int i)
        {
            dest.writeStringArray(a);
            dest.writeString(b);
        }

        String a[];
        String b;

        public FacebookData()
        {
        }
    }


    public SessionData()
    {
    	mUser = null;
        b = new ArrayList();
        c = null;
    }

    public int describeContents()
    {
        return 0;
    }

    public void writeToParcel(Parcel dest, int i)
    {
        dest.writeParcelable(mUser, 0);
        dest.writeSerializable(b);
        dest.writeParcelable(c, 0);
    }

    public MBUUser mUser;
    public ArrayList b;
    public FacebookData c;
}
